-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a test city (streets and river centerline) to use for testing rcoins #27
Conversation
Note that most of the functions are almost directly copy-pasted from the CRiSp package. We may consider factorizing these into their own package (at some point) if they're reused in a number of other packages. |
Also note that this dataset stores the city name with the data. The other parts of the data are stored in the geom member. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @vanlankveldthijs, looks good ! Just left few comments, I know they make the code less generic, but for the data script I would actually prefer to have a short and straightforward script..
@vanlankveldthijs After discussing it with @cforgaci, we think it makes more sense to call the test data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vanlankveldthijs thanks. I left a few additional comments.
@fnattino fyi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few more suggestions related to renaming the package to bucharest
Applied various review suggestions for changes. Co-authored-by: Claudiu Forgaci <[email protected]> Co-authored-by: Francesco Nattino <[email protected]>
All previous reviews and code suggestions should now be resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vanlankveldthijs. I added a few more tiny suggestions. These are needed for the lintr, test and (part of) R-CMD-check actions to pass.
Replaced test_city variable by bucharest Co-authored-by: Claudiu Forgaci <[email protected]>
This reverts commit d57b5d5.
Co-authored-by: Claudiu Forgaci <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vanlankveldthijs, many thanks! All checks passing now. @fnattino, if you also agree, this can be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @vanlankveldthijs and @cforgaci - a very minor suggestion from my side, then good to merge for me!
environment.yml
Outdated
@@ -14,3 +14,4 @@ dependencies: | |||
- r-testthat >=3.0.0 | |||
# Others | |||
- r-lintr | |||
- r-osmdata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe put r-osmdata
right after r-sfnetworks
in the list, as it is part of the "Suggests" section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for taking over @vanlankveldthijs , since it was a very minor thing I thought I would fix it quickly. Really thank you so much!
This includes
This also required osmdata to be added to the environment.